package com.yyq.eduservice.client;

import com.yyq.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yyq
 * @create 2021-05-15 16:16
 */
@Component
@FeignClient(name = "service-order")
public interface orderClient {
    @GetMapping("/eduorder/order/getUserOrder/{user_id}")
    public R getUserOrder(@PathVariable("user_id") String user_id);
}
